package com.itheima.stock.service;

import com.itheima.stock.pojo.domain.DescribeDomain;
import com.itheima.stock.pojo.domain.Stock4MinuteDomain;
import com.itheima.stock.pojo.domain.StockAnInfoDomain;
import com.itheima.stock.pojo.domain.StockRt1;
import com.itheima.stock.vo.resp.R;

import java.util.List;

public interface StockerOutService {

    /**
     * 大盘数据获取
     * @return
     */
    R<List> getOuterStockIndex();

    /**
     * like查询根据code
     * @param
     * @return
     */
    R<List> getStockLikeCode(Integer searchStr);


    /**
     * 根据code获取详情
     * @param code
     * @return
     */
    R<DescribeDomain> getDescribeByCode(String code);

    /**
     * 周k线-bycode
     * @param stockCode
     * @return
     */
    R<List> getScreenWeekkline(String stockCode);


    /**
     * 个股最新分时行情数据接口分析
     * @param stockCode
     * @return
     */
    R<StockRt1> getScreenSecondDetail(String stockCode);

    /**
     * 个股查询最新交易流水
     * @param stockCode
     * @return
     */
    R<List<StockAnInfoDomain>> getScreenSecond(String stockCode);
}
